package com.liuzu.esys.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @author : 松松
 * @date : 2022/7/25
 * @desc : 总财务实体类
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class FinTotal {

    //编号
    private Integer tid;

    //日期
    @JsonFormat(pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date date;

    //收入金额
    private Double income;

    //支出金额
    private Double outcome;

    //备注
    private String remark;

    //审核员
    private String manager;

    //日结
    private Double sum;

}
